%include "io.inc"

%MACRO TEST 4
    mov %1,  %3
    mov ebx, [%2]
    add %1, ebx
    jmp %4
%ENDMACRO

section .data
X dd 5

section .text
global main
main:
    TEST eax, X, 10, print_eax
    PRINT_STRING "this line will not appear in output"
print_eax:
    PRINT_DEC 4, eax
    xor eax, eax
    ret